package cn.sc.summer.admin;

import cn.sc.summer.constant.project.ProjectConstant;
import de.codecentric.boot.admin.server.config.EnableAdminServer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 类名：springboot 应用监控，集成nacos
 *
 * @author a-xin
 * @date 2024/3/27 09:37
 */
@EnableAdminServer
@ComponentScan(basePackages = ProjectConstant.BASE_PACKAGE)
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class SummerAdmin {

    public static void main(String[] args) {
        SpringApplication.run(SummerAdmin.class, args);
    }

}
